import request from "@/utils/request"

/**
 * 用户分享图
 */
export function userShareImg(data) {
  return request.post(`/wx-images/user-share-img`, data)
}

/**
 * 获取分享 code
 */
export function getShareCode(path='') {
  return request.get(`/user-shares/get-share-code?pagePath=${path}`)
}